<?php
class Book_room extends MY_Frontend{
    
    public function __construct() {
        parent::__construct();
    }

    function index($id=1)
    {
        $this->session->set_userdata('REDIRECT' , uri_string());

        $this->layout->view('frontend/book_room', $this->data);    
    }   
}